﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Fashion.Models.Model
{
    public class ProductCategoryModel
    {
        public int Id { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public int OrderDisplay{ get; set; }
    }
    public class ProductSubCategoryModel
    {
        public int Id { get; set; }

        [Required]
        public int ParentId { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public int OrderDisplay{ get; set; }
    }

    public class PropertyNameModel
    {
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }
        public string Unit { get; set; }
        [Required]
        public bool IsValueStatic { get; set; }
        [Required]
        public bool IsMultiValue{ get; set; }
    }

    public class PropertyValueStaticModel
    {
        public int Id { get; set; }
        [Required]
        public int PropertyId { get; set; }
        [Required]
        public string Value { get; set; }
        [Required]
        public bool Active{ get; set; }
    }
}